<?php

function CriarRelatorio(){
	require("../dao/RelatorioDao.php");
	
	$reldao = new RelatorioDao();
	$relatorio = $reldao->VendasDeProdutos();
	
	echo '<table>';
	foreach($relatorio as $linha){
		echo '<tr>';
		foreach ($linha as $campo)
			echo '<td>$campo</td>';
		echo '</tr>';
	}
	echo '</table>';
}
?>



<html>
<head></head>
<body></body>
